﻿
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Study003_Swagger_Swashbuckle.Models
{
	public class TodoItem
	{
        /// <summary>
        /// 唯一值
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        public required string Name { get; set; }
        /// <summary>
        /// 是否完成
        /// </summary>
        /// 
        [DefaultValue(false)]
        public bool IsComplete { get; set; }
    }
}

